//
//  HMAnimator.h
//  STBest
//
//  Created by apple on 2017/8/29.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HMAnimator : NSObject<UIViewControllerTransitioningDelegate>

@property (assign, nonatomic)   BOOL    isPresented;

// 提供显示时专场动画
- (nullable id <UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source;

// 提供消失时的专场动画
- (nullable id <UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed;


@end
